#ifndef __RECVFROM_MSG_H__
#define __RECVFROM_MSG_H__

#include "unp.h"

struct unp_in_pktinfo
{
  struct in_addr ipi_addr;
  int ipi_ifindex;
};

ssize_t recvfrom_msg(int fd, void* ptr, size_t nbytes, int* flagsp, sockaddr* sa, socklen_t* salen, in_pktinfo* pktp);

#endif
